import {SET_MENU} from '../types/menu'
export default {
  namespaced: true,
  state: {
    menu: [],
  },
  mutations: {
    [SET_MENU](state,data){
        state.menu = data
    }
  },
  actions: {
    [SET_MENU]({commit},data){
      commit(SET_MENU,data)
    }
  },
};
